﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using _工程师标签展示.Models;


namespace _工程师标签展示
{
    public static class WebApiTool
    {
        public static string GetWebApiService()
        {
            CallModel call = new CallModel(true);

            string resJson = "";
            //请求地址//http://10.96.175.64:96 /api/EngineerTag/GetEngineerTagByPersonCode
            HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create("http://10.96.175.64:96/api/EngineerTag/GetEngineerTagByPersonCode");
            webRequest.Method = "post";
            webRequest.ContentType = "application/x-www-form-urlencoded";
            //webRequest.ContentLength = Encoding.UTF8.GetByteCount();


            return resJson;
        }
    }
}
